userspace: initial work for splitting up ipc logic for kernel and user#10152
Draft
lgirdwood wants to merge 1 commit intothesofproject:mainfrom
Draft
userspace: initial work for splitting up ipc logic for kernel and user#10152lgirdwood wants to merge 1 commit intothesofproject:mainfrom
lgirdwood wants to merge 1 commit intothesofproject:mainfrom
Conversation
lyakh
reviewed
Aug 7, 2025
| k_spin_unlock(&ipc->lock, key); | ||
| } | ||
|
|
||
| #ifdef __ZEPHYR__ |
Collaborator
There was a problem hiding this comment.
unfortunately this doesn't quite work yet - I tried that too and many of these #ifdefs are still needed, I suppose for unit tests, which are broken by this PR
Member
Author
There was a problem hiding this comment.
ok so rather than delete, a rename is probably better since this is for building the mocks or testbench now rather than splitting out flavors of RTOS.
d89a70f to
44e5edd
Compare
This is a mostly mechanical split of initial ipc logic into kernel and user files. This is the 1st stage in supporting both privileged kernel and non privileged userspace IPC commands and security surfaces. At a high level library loading and PM will reside as kernel IPC and pipeline and module will become user IPCs. There will be no impact for devices without MMU. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
44e5edd to
ac0295d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mostly mechanical code movement to begin splitting ipc infra into kernel and user files. No impact for non MMU based devices. No changes to ipc processing.